package unite;


import java.io.Serializable;

import terrain.CaseTerrain;


public class Teleporteur extends Objet implements Serializable {
    private static final long serialVersionUID = 1L;

    private CaseTerrain destination;
	
    public Teleporteur(CaseTerrain destination) {
        setDestination(destination);
    }
	
    @Override
    public TypeUnite getType() {
        return TypeUnite.TELEPORTEUR;
    }

    public CaseTerrain getDestination() {
        return destination;
    }

    public void setDestination(CaseTerrain destination) {
        this.destination = destination;
    }

    @Override
    public String getName() {
        return "Téléporteur";
    }

}
